//
//  TopicDetailSectionView.m
//  ZITHER
//
//  Created by 吴凡 on 2019/2/18.
//  Copyright © 2019 weixn. All rights reserved.
//

#import "TopicDetailSectionView.h"

@implementation TopicDetailSectionView

- (void)awakeFromNib {
    [super awakeFromNib];
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(filerAction:)];
    [self addGestureRecognizer:tap];
    self.userInteractionEnabled = YES;
}

- (IBAction)filerAction:(id)sender {
    if (_sectionBlock) {
        _sectionBlock();
    }
}


@end
